package com.jyx.auth.client;

import com.jyx.framework.clinet.JyxServiceList;
import com.jyx.framework.domain.ucenter.ext.JyxUserExt;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = JyxServiceList.JYX_SERVICE_UCENTER)
public interface UserClient {
    @GetMapping("/ucenter/getuserext")
    JyxUserExt getUserExt(@RequestParam("username") String username);
}
